#ifndef __SCNS_OV7725_H__
#define __SCNS_OV7725_H__

#include "ScnsConfig.h"

#if defined(SCNS_OV7725_ENABLE)&&SCNS_OV7725_ENABLE==1

#include "ScnsYing.h"
#include "ScnsBspOv7725.h"
#include "ScnsImage.h"

extern ScnsStatus scnsOv7725Init(ScnsOv7725Enum ov7N);

extern void scnsOv7725VsyncInterrupt(ScnsOv7725Enum ov7N);
extern void scnsOv7725DmaFinishInterrupt(ScnsOv7725Enum ov7N);
extern ScnsStatus scnsOv7725GetImage(ScnsOv7725Enum ov7N,ScnsImage*image);
extern void scnsOv7725SetFinish(ScnsOv7725Enum ov7N,const ScnsImage*image);
extern const volatile uint8 * scnsOv7725GetBufStatus(ScnsOv7725Enum ov7N);
extern ScnsStatus scnsOv7725Ignore(ScnsOv7725Enum ov7N);

#endif
#endif
